print('Wellcome to Rollercoaster bill calculator')

height = int(input('Inter your height in cm: '))

if height > 120:
    print('You can ride')
    bill = 0
    age = int(input('Inter your age: '))
    if age < 12:
        bill += 5
    elif age < 18:
        bill += 7
    elif age >= 18:
        bill += 12


    if age >= 45 and age <= 55:
        bill = 0     
    else:
        photo = input('Are you want photos (Y or N) ')
        if photo == "Y":
            bill += 3
    
    print(f'Your bill is ${bill}')
    
else:
    print('You can\'t ride. You are short')